
cdef extern from "coord_conv.h":
    ctypedef int (*coord_conv_func)(double, double ,double *,double *, void *)


cdef extern from "_pytpm.h":
    ctypedef extern class coords._pytpm.AstroCoordConvFunc [object PyAstroCoordConvFunctionObject]:
        cdef coord_conv_func c_func
        cdef void * c_data
        cdef void (*data_destr)(void *)

    void init_pytpm()
    
